package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;


/**
 * @author ：zfr
 * @date ：2021/7/21 16:49
 */
@FieldTypeAnnotation(tableName = "t_l_ck_wineshop_power", desc = "酒肆体力日志", autoSave = true, uploadCk = true)
public class LogWineShopPower extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "当前体力")
    private int power;
    @FieldTypeAnnotation(desc = "是否获取")
    private boolean isGet;
    @FieldTypeAnnotation(desc = "获取数量")
    private int count;
    @FieldTypeAnnotation(desc = "获取途径")
    private int getWay;

    public LogWineShopPower(long userId, int power, boolean isGet, int count, int getWay) {
        this.userId = userId;
        this.power = power;
        this.isGet = isGet;
        this.count = count;
        this.getWay = getWay;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public boolean isGet() {
        return isGet;
    }

    public void setGet(boolean get) {
        isGet = get;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getGetWay() {
        return getWay;
    }

    public void setGetWay(int getWay) {
        this.getWay = getWay;
    }

}
